home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
TECHNICA
/
COMPUTER
/
H254.ZIP
/
IRITSM3S.ZIP
/
MAKEFLAG.UNX
< prev
next >
Wrap
Text File
|
1992-03-11
|
5KB
|
194 lines
#
# The XXX_DIR variables below MUST have ABSOLUTE path. Since this file
# is sourced from several directories relative path specification will
# be simple wrong.
#
#
# All libraries created will be installed into the LIB_DIR directory.
#
LIB_DIR = /u/grad/gershon/sm/t/lib
#
# All includes files associated with the installed libraries will be
# installed into the INC_DIR directory.
#
INC_DIR = /u/grad/gershon/sm/t/inc
#
# All binaries created will be installed into the BIN_DIR directory.
#
BIN_DIR = /u/grad/gershon/sm/t/bin
#
# Uncomment the correct set of variables to be used or modify it for
# your system.
#
# -D flags:
#
# -D__GL__ - if your system supports gl graphics library (SGI 4d & IBM R6000).
#
# -D__X11__ - if your system supports X11. Only one of __GL__ or __X11__ should
# be used.
#
# Emulation to the following function are available by defining the
# following. Look at misc_lib/xgeneral.c/h for implementation.
# -DGETCWD - if getcwd is not defined in this system.
# -DSTRSTR - if strstr is not defined in this system.
# -DSTRDUP - if strdup is not defined in this system.
# -DSTRICMP - if stricmp and strincmp are not defined in this system.
#
# -DNO_VOID_PTR - if your C compiler does not support (void *).
#
# -DUSE_VARARGS - if your system does not have stdarg.h and have the old
# varargs.h.
#
# -DNO_CONCAT_STR - if 'char *p = "This is" "one string";' is illegal.
#
#
# Flags for SGI 4d, Irix 3.x, using gl:
#
# CC = cc
# DFLAGS = -DNO_VOID_PTR -DSTRICMP -DNO_CONCAT_STR
# CFLAGS = -O -D__GL__ $(DFLAGS) -Olimit 1000 -Wf,-XNh5000 -Wf,-XNd5000 -G 4
# CFLAGS = -g -p -D__GL__ $(DFLAGS) -Olimit 1000 -Wf,-XNh5000 -Wf,-XNd5000 -G 4
# MORELIBS = -lgl_s -lbsd
# MOREOBJS = xglgraph.o
#
# Flags for SGI 4d, Irix 3.x, using X11:
#
# CC = cc
# DFLAGS = -DNO_VOID_PTR -DSTRICMP -DNO_CONCAT_STR
# CFLAGS = -O -D__X11__ $(DFLAGS) -Olimit 1000 -Wf,-XNh5000 -Wf,-XNd5000 -G 4
# CFLAGS = -g -p -D__X11__ $(DFLAGS) -Olimit 1000 -Wf,-XNh5000 -Wf,-XNd5000 -G 4
# MORELIBS = -lX11 -lbsd
# MOREOBJS = x11graph.o
#
# Flags for SGI 4d, Irix 4.0, using gl:
#
# CC = cc
# DFLAGS = -DSTRICMP
# CFLAGS = -xansi -O -D__GL__ $(DFLAGS) -Olimit 1000 -Wf,-XNh5000 -Wf,-XNd5000 -G 4
# CFLAGS = -xansi -g -p -D__GL__ $(DFLAGS) -Olimit 1000 -Wf,-XNh5000 -Wf,-XNd5000 -G 4
# MORELIBS = -lgl_s -lbsd
# MOREOBJS = xglgraph.o
#
# Flags for SGI 4d, Irix 4.0, using X11:
#
# CC = cc
# DFLAGS = -DSTRICMP
# CFLAGS = -xansi -O -D__X11__ $(DFLAGS) -Olimit 1000 -Wf,-XNh5000 -Wf,-XNd5000 -G 4
# CFLAGS = -xansi -g -p -D__X11__ $(DFLAGS) -Olimit 1000 -Wf,-XNh5000 -Wf,-XNd5000 -G 4
# MORELIBS = -lX11_s -lbsd
# MOREOBJS = x11graph.o
#
# Flags for i386 SVR4 using X11
#
# CC = cc
# DFLAGS = -D__X11__ -DSTRICMP
# CFLAGS = -O $(DFLAGS)
# CFLAGS = -g $(DFLAGS)
# MORELIBS = -lX11 -lsocket -lnsl
# MOREOBJS = x11graph.o
#
# Flags for BSD4.3/SUN O.S. 4.1.1 using gcc 1.39 and X11:
# Note you cannot use SUN's native cc compiler since it does not support
# Ansi C.
#
# CC = gcc
# DFLAGS = -DUSE_VARARGS -D__X11__
# CFLAGS = -O $(DFLAGS)
# CFLAGS = -g -pg $(DFLAGS)
# MORELIBS = -lX11
# MOREOBJS = x11graph.o
#
# Flags for HPBSD 4.3, HP300/400 and X11
# Note I used gnumake here since the provided make do not support the
# 'include ../makeflag.unx' directive.
#
# CC = gcc
# DFLAGS = -DUSE_VARARGS -D__X11__ -DSTRICMP -DSTRSTR -DGETCWD
# CFLAGS = -O $(DFLAGS)
# CFLAGS = -g -pg $(DFLAGS)
# MORELIBS = -lX11
# MOREOBJS = x11graph.o
#
# Flags for a DEC 5000/200, with gcc, x11:
#
# CC = gcc
# DFLAGS = -DSTRDUP -DSTRICMP -D__X11__
# CFLAGS = -O $(DFLAGS)
# CFLAGS = -O -fstrength-reduce -fcombine-regs -fforce-mem -fforce-addr -fomit-frame-pointer -finline-functions -fcaller-saves -fdelayed-branch $(DFLAGS)
# MORELIBS = -lX11
# MOREOBJS = x11graph.o
#
# Flags for IBM RS6000 using gl
# The gl implementation (in both software and hardware) on the RS6000
# could be better. Although basically working, its speed is approximately
# the same as X11 (You do get hardware rendering though)...
#
# CC = xlc
# DFLAGS = -D__GL__ -D_POSIX_SOURCE -D_ALL_SOURCE -DSTRSTR -DSTRDUP -DSTRICMP
# CFLAGS = -O -qnoro $(DFLAGS)
# CFLAGS = -g -pg -qnoro $(DFLAGS)
# MORELIBS = -lgl
# MOREOBJS = xglgraph.o
#
# Flags for IBM RS6000 using X11
#
# CC = xlc
# DFLAGS = -D__X11__ -D_POSIX_SOURCE -D_ALL_SOURCE -DSTRSTR -DSTRDUP -DSTRICMP
# CFLAGS = -O -qnoro $(DFLAGS)
# CFLAGS = -g -pg -qnoro $(DFLAGS)
# MORELIBS = -lX11
# MOREOBJS = x11graph.o
#
# Flags for HP snake machines running hpux.
#
# CC = cc
# DFLAGS = -D__X11__ -DSTRICMP
# CFLAGS = -Aa -O $(DFLAGS) -D_INCLUDE_POSIX_SOURCE
# CFLAGS = -Aa -g $(DFLAGS) -D_INCLUDE_POSIX_SOURCE
# MORELIBS = -L/usr/lib/X11R4 -lX11
# MOREOBJS = x11graph.o
#
# Flags for IBM PC, SYSV3.2, ISC 2.2.1 and MIT X11R4, using gcc 1.40
#
# CC = gcc
# DFLAGS = -DSTRICMP -DNO_CONCAT_STR -DUSE_VARARGS -D__X11__ -DNO_ASM -DISC
# CFLAGS = -O $(DFLAGS)
# MORELIBS = -L/usr2/lib -lX11_s -linet -lpt -lcposix
# MOREOBJS = x11graph.o
#
# Flags for Evans & Sutherland ESV
#
# CC = cc
# DFLAGS = -D__X11__ -DSTRICMP -DNO_CONCAT_STR
# CFLAGS = -systype sysv -s -O $(DFLAGS)
# MORELIBS = -systype sysv -lX11 -lbsd
# MOREOBJS = x11graph.o
#
# Default rule for compilation.
#
.c.o:
$(CC) $(CFLAGS) -I. -I$(INC_DIR) -c $<
#
# All libraries.
#
LIBS = -L$(LIB_DIR) -lmisc -lcagd # -lgif